package com.lgy.dao;

import com.lgy.pojo.Financing;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FinancingDao {
    int deleteByPrimaryKey(Integer financingId);

    int insert(Financing record);

    int insertSelective(Financing record);

    Financing selectByPrimaryKey(Integer financingId);

    int updateByPrimaryKeySelective(Financing record);

    int updateByPrimaryKey(Financing record);

    List<Financing> findAllByCompanyId(@Param("companyId") Integer companyId);
}